name=demo
srv=build/${name}
param=

debug:
	gdb --args ./${srv} ${param}

generate:
	cd build && make

valgrind:
	valgrind --leak-check=full --show-leak-kinds=all ./${srv} ${param}

gdbcore:
	gdb -c core ./${srv}

start:
	./${srv} ${param}